import Vue from 'vue'
import App from './App'
import routes from './router/router'
import VueRouter from 'vue-router'
import './config/rem'
import {routerMode} from './config/env'
Vue.use(VueRouter)

const router = new VueRouter({
    routes,
    mode: routerMode
})
/* eslint-disable no-new */
new Vue({
    router,
    render: h => h(App)
}).$mount('#app')
